<html>
<head>
<style type='text/css'>
body {
   background-color: white;
   margin: 1em 2em 1em 2em;
   font-family: Sans-Serif;
   color: #002;
   line-height: 140%;
   font-size: 12px;
}

h1 {
    font-size: 140%;
}

h2 {
    font-size: 130%;
}

h3 {
    font-size: 120%;
}

h4 {
    font-size: 100%;
    font-style: normal;
    font-weight: bold;
}

h5 {
    font-size: 100%;
    font-style: italic;
    font-weight: normal;
}

pre {
   background-color: #eee;
   padding: 0.5em 0.5em 0.5em 2em;
}

@media print {
   pre {word-wrap:break-word; width:100%;}
} 

ul li,
ol li {
   padding-left: 0.3em;
   /*text-indent: -2em;*/
   margin-bottom: 0.5em;
}

em {
   font-style: normal;
   font-weight: bold;
   text-decoration: underline;
   color: #c40;
}

code {
   font-family: Monospace;
   font-size: 100%;
   color: #c40;
}

a, a * {
   text-decoration: underline;
   color: blue;
   /* border: 0.5px solid #aaa;
   white-space: nowrap;
   padding-right: 0.1em;
   padding-left: 0.1em;
   padding-bottom: -5px; */
}

a code {
   color: blue;
}

img {
   position: relative;
   bottom: -4px;
}

div.headline {
   font-weight: bold;
   font-size: 110%;
}

div.copyright {
   margin-top: 1em;
   border-top: 1px solid black;
   padding-top: 0.5em;
}

div.iris_headline {
   border-bottom: 1px solid black;
   padding-bottom: 0.3em;
}

.LaTeX {
   font-family: Monospace;
   font-size: 100%;
   border: 1px solid #060;
   color: #060;
}

code.LaTeX {
   background-color: white;
   padding: 0.5em 0.5em 0.5em 2em;
}
</style>
</head>

<body>
<div class="iris_headline">IRIS Toolbox Reference Manual</div>




<h2 id="dbase/dbnames">dbnames</h2>
<div class="headline">List of database entries filtered by name and/or class</div>

<h4 id="syntax">Syntax</h4>
<pre><code>List = dbnames(D,...)</code></pre>
<h4 id="input-arguments">Input arguments</h4>
<ul>
<li><code>D</code> [ struct ] - Input database.</li>
</ul>
<h4 id="output-arguments">Output arguments</h4>
<ul>
<li><code>List</code> [ cellstr ] - List of input database entries that pass the name or class test.</li>
</ul>
<h4 id="options">Options</h4>
<ul>
<li><p><code>'nameFilter='</code> [ char | <em><code>Inf</code></em> ] - Regular expression against which the database entry names will be matched; <code>Inf</code> means all names will be matched.</p></li>
<li><p><code>'classFilter='</code> [ char | <em><code>Inf</code></em> ] - Regular expression against which the database entry class names will be matched; <code>Inf</code> means all classes will be matched.</p></li>
</ul>
<h4 id="description">Description</h4>
<h4 id="example">Example</h4>
<p>Notice the differences in the following calls to <code>dbnames</code>:</p>
<pre><code>dbnames(d,&#39;nameFilter=&#39;,&#39;L_&#39;)</code></pre>
<p>matches all names that contain <code>'L_'</code> (at the beginning, in the middle, or at the end of the string), such as <code>'L_A'</code>, <code>'DL_A'</code>, <code>'XL_'</code>, or just <code>'L_'</code>.</p>
<pre><code>dbnames(d,&#39;nameFilter=&#39;,&#39;^L_&#39;)</code></pre>
<p>matches all names that start with <code>'L_'</code>, suc as <code>'L_A'</code> or <code>'L_'</code>.</p>
<pre><code>dbnames(d,&#39;nameFilter=&#39;,&#39;^L_.&#39;)</code></pre>
<p>matches all names that start with <code>'L_'</code> and have at least one more character after that, such as <code>'L_A'</code> (but not <code>'L_'</code>).</p>

</body>
<div class="copyright">IRIS Toolbox. Copyright &copy; 2007-2014 Jaromir Benes.</div>
</html>
